$(document).on('pagebeforeshow', '#pagina5', function (event) {
   $("video").css({"display":"none"});
    TweenLite.to(".menu", 1, {alpha:0});

  
    $("#icoPg1").removeClass('active');
    $("#icoPg2").removeClass('active');
    $("#icoPg3").removeClass('active');
    $("#icoPg3").removeClass('active');
    $("#icoPg3").toggleClass('active').siblings().removeClass('active');
    $("#icoPg6").removeClass('active');
    $("#icoPg7").removeClass('active');
      
    paginaAtual = 5;
    grid.defineGrid(paginaAtual);
    podeVirar(paginaAtual);

});

$(document).on('pageshow', '#pagina5', function (event) {

      TweenLite.to("#setinhasDireita",0.5, { delay:1.8,alpha:0,display:"none"});
    TweenLite.to("#bgBaixo", 1.5, {bottom:"-110"});

    $('.questao').click(mostraDetalhes);

});

$(document).on('pagebeforehide', '#pagina5', function (event) {
   TweenLite.to("#bgBaixo", 1.5, {bottom:"-255"});

});
